#-*- coding: utf-8 -*-
from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

# minha urls
urlpatterns = patterns('',
    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^admin/(.*)', admin.site.root),

    (r'', include('bd42.apps.bdig.urls')),
    # serve para funcionar os arquivos estáticos em localhost
    (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/home/eloi/django/projects/bd42/media', 'show_indexes': True}),
)
